{extend name="index/index" /}
{block name="main"}
<!-- Start right content -->
<div class="content-wrapper">
    <div class="page-title">
        <div>
            <h1><i class="fa fa-edit"></i>角色详情</h1>
            <p>Bootstrap default form components</p>
        </div>
        <div>
            <ul class="breadcrumb">
                <li><i class="fa fa-home fa-lg"></i></li>
                <li>Forms</li>
                <li><a href="#">Form Components</a></li>
            </ul>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="card">
                <div class="row">
                    <div class="col-lg-6 col-lg-offset-1 ">
                        <form action="/admin/role/getinfo" method='post' class="bs-component">
                            {volist name='list' key='key' id='v'}
                            <div class="form-group">
                                <label class="control-label" for="inputDefault">用户ID</label>
                                <input class="form-control" name="name" type="text" value="{$v.id}" readonly="onMouseOver">
                            </div>
                            <div class="form-group">
                                <label class="control-label" for="inputDefault">用户名字</label>
                                <input class="form-control" name="name" type="text" value="{$v.name}" readonly="onMouseOver">
                            </div>
                            <div class="form-group">
                                <label class="control-label" for="inputDefault">状态</label>
                                <input class="form-control" name="status"  type="text" value="{$v.status}" readonly="onMouseOver">
                            </div>
                            <div class="form-group">
                                <label class="control-label" for="inputDefault">描述</label>
                                <input class="form-control" name="semark"  type="text" value="{$v.semark}" readonly="onMouseOver">
                            </div>
                        <a href="{:url('admin/role/')}">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<h3>返回上一层</h3></a>
                    </div>
                    {/volist}
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<!-- End right content -->


{/block}
